package com.zqx.mongodbdemo.entity;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;

@Data
@Accessors(chain = true)
public class User {

    @Id
    private Integer id;
    private String name;
    private int age;
}
